home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wdj0797.zip / HOWARD.ZIP / IDLEDLG.CPP < prev    next >
C/C++ Source or Header  |  1997-04-13  |  913b  |  43 lines

  1. // IdleDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "afxpriv.h"
  6. #include "IdleDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. ////////////////////////////////////////////////////////////////
  15. // CIdleDlg dialog
  16.  
  17. CIdleDlg::CIdleDlg(UINT nIDTemplate, CWnd* pParent /*=NULL*/)
  18.    : CDialog(nIDTemplate, pParent)
  19. {
  20. }
  21.  
  22. CIdleDlg::CIdleDlg(
  23.    LPCTSTR lpszTemplateName, CWnd* pParent /*=NULL*/)
  24.    : CDialog(lpszTemplateName, pParent)
  25. {
  26. }
  27.  
  28. BEGIN_MESSAGE_MAP(CIdleDlg, CDialog)
  29.    //{{AFX_MSG_MAP(CIdleDlg)
  30.    ON_MESSAGE(WM_KICKIDLE, OnKickIdle)
  31.    //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33.  
  34. ////////////////////////////////////////////////////////////////
  35. // CIdleDlg message handlers
  36.  
  37. LRESULT CIdleDlg::OnKickIdle(WPARAM /*wParam*/, LPARAM /*lParam*/)
  38. {
  39.    UpdateDialogControls(this, TRUE);
  40.  
  41.    return FALSE;
  42. }
  43.